/**
 * Bestpay.com.cn Inc.
 * Copyright (c) 2011-2018 All Rights Reserved.
 */
package com.sgzn.sgpay.enums;

/**
 * 应用名称
 * @author zhongzhongyong
 * @version Id: AppName.java, v 0.1 2018/4/1 16:48 zhongzhongyong Exp $$
 */
public enum AppName {

    SGS("SGS", "sgpay服务层", "01"),
    SGW("SGW", "sgpayWEB层", "02"),
    SGF("SGF", "sgpay前端静态资源层", "03"),
    SGT("SGT", "SGTCP层", "04")    ;

    private String code;
    private String desc;
    private String number;

    private AppName(String code, String desc, String number) {
        this.code = code;
        this.desc = desc;
        this.number = number;
    }

    @Override
    public String toString() {
        return "AppName(code=" + this.getCode() + ", desc=" + this.getDesc() + ", number=" + this.getNumber() + ")";
    }

    public String getCode() {
        return this.code;
    }

    public String getDesc() {
        return this.desc;
    }

    public String getNumber() {
        return this.number;
    }
}
